<%@page contentType="text/html" pageEncoding="windows-1252" isELIgnored="false"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri="http://www.springframework.org/security/tags" prefix="security"%>

<div class="hRow"></div>
<div class="desk">
    <div class="cpanel-left">
        <div id="cpanel">
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="<spring:url value="/auth/logout.do"/>">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/images/header/icon-48-revert.png"/>"
                             alt="" />
                        <span><spring:message code="form.auth.logout.label"/></span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <c:choose>
                        <c:when test="${hasSellout}">
                            <a href="#">
                                <div class="hRow2"></div>
                                <img src="<spring:url value="/template/images/header/icon-48-unarchive.png"/>"
                                     alt="" />
                                <span><spring:message code="form.desk.sellout.create.label"/></span>
                            </a>
                        </c:when>
                        <c:otherwise>
                            <a href="<spring:url value="/secure/sellout/create/view.do"/>">
                                <div class="hRow2"></div>
                                <img src="<spring:url value="/template/images/header/icon-48-unarchive.png"/>"
                                     alt="" />
                                <span><spring:message code="form.desk.sellout.create.label"/></span>
                            </a>
                        </c:otherwise>
                    </c:choose>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="<spring:url value="/secure/desk/sellout/manage.do"/>">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/images/header/icon-48-generic.png"/>"
                             alt="" />
                        <span><spring:message code="form.desk.sellout.manage.label"/></span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_media">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-media.png"
                             alt="" />
                        <span>Media Manager</span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_menus">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-menumgr.png"
                             alt="" />
                        <span>Menu Manager</span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_users">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-user.png"
                             alt="" />
                        <span>User Manager</span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_modules">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-module.png"
                             alt="" />
                        <span>Module Manager</span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_installer">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-extension.png"
                             alt="" />
                        <span>Extension Manager</span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_languages">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-language.png"
                             alt="" />
                        <span>Language Manager</span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_config">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-config.png"
                             alt="" />
                        <span>Global Configuration</span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_templates">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-themes.png"
                             alt="" />
                        <span>Template Manager</span>
                    </a>
                </div>
            </div>
            <div class="icon-wrapper">
                <div class="icon">
                    <a href="index.php?option=com_admin&amp;task=profile.edit">
                        <div class="hRow2"></div>
                        <img src="<spring:url value="/template/"/>/images/header/icon-48-user-profile.png"
                             alt="" />
                        <span>Edit profile</span>
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="hRow"></div>